<div class="row">
	<div class="col-md-12 header">
		<!--<h2>When Were You Born?</h2>-->
	</div>
</div>

<div class="row">
	<div class="col-md-6 col-centered">
    	<h2>Login</h2>
    </div>
    
    <?php if(validation_errors() != false) : ?>
        <div class="col-md-6 col-centered">
            <div class="alert alert-danger">
                <ul>
                <?php echo validation_errors(); ?>
                </ul>
            </div>
        </div>
    <?php endif; ?>
    
	<div class="col-md-6 col-centered">
    	<!--<form id="birthday-form">-->
        <?php echo form_open('admin') ?>	
        
        	<div class="row">
            	<div class="col-md-12"> 
                    <div class="form-group">
                    	<label for="email" class="control-label">E-mail</label>
                    	<input class="form-control" type="text" name="email" value="<?php echo set_value('email'); ?>" size="50" /> 
                    </div> 
                </div>
            </div><!-- row -->
            
            
            <div class="row">
            	<div class="col-md-12"> 
                    <div class="form-group">
                    	<label for="passwword" class="control-label">Password</label>
                    	<input class="form-control" type="text" name="password" value="<?php echo set_value('password'); ?>" size="50" /> 
                    </div> 
                </div>
            </div><!-- row -->
            
        
        
            <div class="row">
                <div class="col-md-12">  
                	<div class="form-group">
                        <input type="checkbox" name="remember_login" id="remember_login" value="1" <?php echo set_checkbox('remember_login', '1'); ?> /> 
                        <label>Remember me for future visits</label>
                    </div>
                </div>
            </div>
            
            
            <div class="row">
                <div class="col-md-12">  
                    <input class="btn btn-default" name="login-submit" type="submit" value="ENTER" />
                </div>
            </div>
                            
        </form>
    </div>
</div>